package com.example.demo.entity;

import java.util.Date;

import java.io.Serializable;
import lombok.Data;

/**
 * (Child)表实体类
 *
 * @author makejava
 * @since 2025-01-27 22:47:00
 */
@Data
public class Child implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    //关联用户ID
    private Long userId;
    //姓名
    private String name;
    //性别
    private String gender;
    //出生日期
    private Date birthday;

    private Date createTime;

    private Date updateTime;
    //头像URL
    private String avatar;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}

